Conversation
@modelcontextprotocol/ext-apps
@modelcontextprotocol/server-basic-preact
@modelcontextprotocol/server-basic-react
@modelcontextprotocol/server-basic-solid
@modelcontextprotocol/server-basic-svelte
@modelcontextprotocol/server-basic-vanillajs
@modelcontextprotocol/server-basic-vue
@modelcontextprotocol/server-budget-allocator
@modelcontextprotocol/server-cohort-heatmap
@modelcontextprotocol/server-customer-segmentation
@modelcontextprotocol/server-debug
@modelcontextprotocol/server-map
@modelcontextprotocol/server-pdf
@modelcontextprotocol/server-scenario-modeler
@modelcontextprotocol/server-shadertoy
@modelcontextprotocol/server-sheet-music
@modelcontextprotocol/server-system-monitor
@modelcontextprotocol/server-threejs
@modelcontextprotocol/server-transcript
@modelcontextprotocol/server-video-resource
@modelcontextprotocol/server-wiki-explorer
commit: |
0ef8f54 to
5494ce2
Compare
5494ce2 to
f96ba4b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
@modelcontextprotocol/ext-appsand all example workspaces from 1.6.0 → 1.7.0.Changes since 1.6.0
Features
App.registerTool()/sendToolListChanged()— Views can expose tools for the Host to call (WebMCP-style) (spec: Add tool registration for Apps, to be called by Host (WebMCP-style!) #72)App.createSamplingMessage()— sampling support via stock SDK types (feat: MCP app sampling support via stock SDK types (alt to #477) #530)console.warn, or throw withAppOptions.strict):Apphost-bound methods warn when called beforeconnect()completes; one-shot event handlers (ontoolinput/ontoolresult/etc.) warn when first registered afterconnect();AppBridgewarns when it receives requests beforeui/notifications/initialized(feat(app,app-bridge): guard requests sent before handshake completes #623, feat(app): warn when one-shot handlers are registered after connect() #629, chore: drop GitHub issue URLs from pre-handshake guard log messages #625, refactor(app): unify pre-handshake guard to console.warn #630, fix(react): StrictMode cleanup + relax late-handler guard for re-reg #631)AppOptions.allowUnsafeEval(defaultfalse) —Appconstructor setsz.config({ jitless: true })so Views run under strict CSP withoutunsafe-eval; opt out for the faster JIT path (feat(app): default Zod to jitless; add allowUnsafeEval opt-out #618)useApp()forwardsautoResizeandstrictto the underlyingApp(feat(react): forward autoResize from useApp to App #622)Fixes
useAppeffect cleanup now closes theApp, so React StrictMode's dev double-invoke doesn't leave a zombiePostMessageTransportlistener receiving every host message alongside the live instance (fix(react): StrictMode cleanup + relax late-handler guard for re-reg #631)csp/permissionstyped?: neveronMcpUiToolMetaso misplaced declarations fail at compile time (fix(types): forbid csp/permissions on McpUiToolMeta via never #624)resourceUriJSDoc that referenced the deprecated flat_meta["ui/resourceUri"]key (docs(types): drop stale resourceUri JSDoc referencing deprecated flat key #626)Chore
npm run bumpscript for version bumps across root + workspaces; npm-publish jobs now approve in a single click; prereleases publish under--tag beta(build: add npm run bump; parallel npm-publish approval #568)link-selfwhen target is a symlink;--diff-filter=dso re-stage doesn't fail on deletions (build: fix pre-commit hook for symlinked self-dep and staged deletions #621)CONTRIBUTING.md(Add examples policy toCONTRIBUTING.md#550)Test Plan
npm run build:allsuccessfully